package com.wfcm.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.wfcm.dao.WfMemberCouponsDao;
import com.wfcm.entity.WfMemberCouponsEntity;
import com.wfcm.service.WfMemberCouponsService;



@Service("wfMemberCouponsService")
public class WfMemberCouponsServiceImpl implements WfMemberCouponsService {
	@Autowired
	private WfMemberCouponsDao wfMemberCouponsDao;
	
	@Override
	public WfMemberCouponsEntity queryObject(Integer id){
		return wfMemberCouponsDao.queryObject(id);
	}
	
	@Override
	public List<WfMemberCouponsEntity> queryList(Map<String, Object> map){
		return wfMemberCouponsDao.queryList(map);
	}

	@Override
	public List<WfMemberCouponsEntity> queryLimitList(Map<String, Object> map){
		return wfMemberCouponsDao.queryLimitList(map);
	}

	@Override
	public int queryTotal(Map<String, Object> map){
		return wfMemberCouponsDao.queryTotal(map);
	}
	
	@Override
	public void save(WfMemberCouponsEntity wfMemberCoupons){
		wfMemberCouponsDao.save(wfMemberCoupons);
	}
	
	@Override
	public void update(WfMemberCouponsEntity wfMemberCoupons){
		wfMemberCouponsDao.update(wfMemberCoupons);
	}
	
	@Override
	public void delete(Integer id){
		wfMemberCouponsDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		wfMemberCouponsDao.deleteBatch(ids);
	}
	
}
